File manager - Edit - /home/autoph/public_html/projects/ahg-prf-api/app/Models/FileAttachment.php
Back
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; // use Illuminate\Database\Eloquent\SoftDeletes; use OwenIt\Auditing\Contracts\Auditable; use OwenIt\Auditing\Auditable as AuditableTrait; class FileAttachment extends Model implements Auditable { use HasFactory,AuditableTrait; protected $table='file_attachments'; public function stock_receiving() { return $this->belongsTo(StockReceiving::class, 'reference_id', 'id')->where('module','=','stock-receiving'); } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.15 |
proxy
|
phpinfo
|
Settings